<?php
/**
 * The Template for displaying all single posts.
 *
 * @package WordPress
 * @subpackage Twenty_Eleven
 * @since Twenty Eleven 1.0
 */

get_header(); ?>

		<div id="primary">
			<div id="content" role="main">
  				<div class="container">
                	
                <?php get_sidebar(); ?>
                  <div id="main">
                    <div class="entry single">
				<?php while ( have_posts() ) : the_post(); ?>
					<?php setPostViews(get_the_ID()); ?><!--统计浏览量-->
					<?php get_template_part( 'content', 'single' ); ?>
				</div>
			<div class="author-bio">
				<img src="<?php bloginfo('template_directory'); ?>/images/saf.png" width="100" height="100" alt="Gravatar" class="avatar">
				<h4>About Smuliii</h4>
				<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into...</p>
				<a href="#" class="button">继续阅读</a>
			</div>
					<?php comments_template( '', true ); ?>

				<?php endwhile; // end of the loop. ?>
						
                	</div>
				</div>
                <div class="clear"></div>
                
			</div><!-- #content -->
		</div><!-- #primary -->

<?php get_footer(); ?>